package com.yanxx.codegenerator.model;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 编码生成响应模型
 */
@Schema(description = "编码生成响应")
public class CodeGenerateResponse {

    @Schema(description = "生成的编码", example = "CODE000001", required = true)
    private String code;

    public CodeGenerateResponse() {
    }

    public CodeGenerateResponse(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}